<!--<li *ngIf="!!todo">-->
<!--</li>-->

<ng-template [ngIf]="!!todo">
  <span [class.completed]="todo.completed">[{{todo.id}}] {{todo.text}}</span>

  <button (click)="complete.emit(todo)" [disabled]="todo.completed">Done</button>

  <button (click)="delete.emit(todo)">Delete</button>
</ng-template>
